package com.zhuiyun.project.api.search.mapper;

import com.zhuiyun.project.api.search.entity.FuzzySearch;
import com.zhuiyun.project.api.search.entity.Search;
import com.zhuiyun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SearchMapper extends BaseMapper<Search> {

    List<Search> getVideoByHot();

    List<FuzzySearch> getFuzzyQuery(String keyword);
}
